﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<IEnumerable<MedicalLog.WebUI.Models.TrackingViewModel>>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
    Track Patient
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="HeaderContent" runat="server">
    <script src="../../Scripts/jquery-1.4.1.min.js" type="text/javascript"></script>
    <script src="../../Scripts/PatientScript.js" type="text/javascript"></script>
    <script src="../../Scripts/jquery.maskedinput-1.2.2.min.js" type="text/javascript"></script>
    <script src="../../Scripts/jquery-ui-1.8.9.custom.min.js" type="text/javascript"></script>
    <script src="../../Scripts/jquery.corner.js" type="text/javascript"></script>

    <script type="text/javascript">
        $('document').ready(function () {

            $('.Item').hide();
            $('.Item').corner();
            $('.Item').addClass('searchPatientStyle');
            $('.Item').show('3000');

       });
    
    </script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <h2>
        Track de pacientes</h2>


   <div id="main">
            <div id="DetailsRows">
               <% if (Model.Count() == 0)
                  {%>
                  <fieldset class="main-style">
                    <%:Html.ValidationSummary() %> 
                  </fieldset>
                <% return;
                  }%>     
                   
        
                <% foreach (var item in Model)
                       Html.RenderPartial("TrackingDetail", item);     
	             %>
            </div>

              <h4>Acciones</h4>

    <fieldset class="main-style">
         
        <%:Html.ActionLink("Atras","RecoverPassword") %>
    </fieldset>

    </div>
</asp:Content>
